Welcome
Expand Getting StartedGetting Started
Expand SOLIDWORKS API HelpSOLIDWORKS API Help
Expand SOLIDWORKS Electrical API HelpSOLIDWORKS Electrical API Help
Expand SOLIDWORKS PDM Professional API HelpSOLIDWORKS PDM Professional API Help
Collapse PDM Pro API Web ServicePDM Pro API Web Service
Overview
Welcome
Getting Started
Release Notes
Collapse ResourceGroupsResourceGroups
Expand Authentication Resource GroupAuthentication Resource Group
Expand BOM Resource GroupBOM Resource Group
Expand Configuration Resource GroupConfiguration Resource Group
Expand Data Card Resource GroupData Card Resource Group
Expand Default Resource GroupDefault Resource Group
Collapse File Resource GroupFile Resource Group
Overview
Collapse OperationsOperations
api/{vaultName}/files/{fileId}/{folderId}/bominfo (Get)
api/{vaultName}/files/{fileId}/{folderId}/history (Get)
api/{vaultName}/files/{fileId}/{folderId}/moves (Get)
api/{vaultName}/files/{fileId}/{folderId}/versions (Get)
api/{vaultName}/files/{fileId}/{folderId}?destroy={destroy} (Delete)
api/{vaultName}/files/{fileId}/{version}/{configId}/{folderId}/whereused?anyVersion={anyVersion} (Get)
api/{vaultName}/files/{fileId}/{version}/{configId}/whereused?folderId={folderId}? (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/ActiveConfig (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/allreferences?configId={configId}? (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/configurations (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/download (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/info (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/info/extended (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/references?configId={configId} (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/thumbnails (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/transitions (Get)
api/{vaultName}/files/{fileId}/{version}/{folderId}/variables (Get)
api/{vaultName}/files/{fileId}/{version}/ActiveConfig?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/allreferences?configId={configId}? (Get)
api/{vaultName}/files/{fileId}/{version}/configurations?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/download?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/info/extended?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/info?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/references?configId={configId}? (Get)
api/{vaultName}/files/{fileId}/{version}/thumbnails?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/transitions?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/variables?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/{version}/whereused?configId={configId}? (Get)
api/{vaultName}/files/{fileId}/{version}?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/bominfo?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/history?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/info?version={version}? (Get)
api/{vaultName}/files/{fileId}/moves?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}/transitions?version={version}? (Get)
api/{vaultName}/files/{fileId}/versions?folderId={folderId} (Get)
api/{vaultName}/files/{fileId}?folderId={folderId}? (Delete)
api/{vaultName}/files/{fileId}?version={version}? (Get)
api/{vaultName}/files/buildtree/checkout (Post)
api/{vaultName}/files/buildtree/undo (Post)
api/{vaultName}/files/CheckOut (Post)
api/{vaultName}/files/info (Post)
api/{vaultName}/files/infofrompath (Post)
api/{vaultName}/files/UndoCheckOut (Post)
Expand Folder Resource GroupFolder Resource Group
Expand Group Resource GroupGroup Resource Group
Expand Notification Resource GroupNotification Resource Group
Expand Progress Resource GroupProgress Resource Group
Expand Stage Resource GroupStage Resource Group
Expand State Transition Resource GroupState Transition Resource Group
Expand User Resource GroupUser Resource Group
Expand Vault Resource GroupVault Resource Group
Expand Version Resource GroupVersion Resource Group
Expand Workflow Resource GroupWorkflow Resource Group
Expand Search Resource GroupSearch Resource Group
Expand FeatureWorks API HelpFeatureWorks API Help
Expand SOLIDWORKS Costing API HelpSOLIDWORKS Costing API Help
Expand SOLIDWORKS Document Manager API HelpSOLIDWORKS Document Manager API Help
Expand SOLIDWORKS Inspection API HelpSOLIDWORKS Inspection API Help
Expand SOLIDWORKS Routing API HelpSOLIDWORKS Routing API Help
Expand SOLIDWORKS Simulation API HelpSOLIDWORKS Simulation API Help
Expand SOLIDWORKS Sustainability API HelpSOLIDWORKS Sustainability API Help
Expand SOLIDWORKS Toolbox API HelpSOLIDWORKS Toolbox API Help
Expand SOLIDWORKS Utilities API HelpSOLIDWORKS Utilities API Help
Expand eDrawings API HelpeDrawings API Help
Expand DraftSight API HelpDraftSight API Help
Expand Lisp Programming BasicsLisp Programming Basics
Expand Lisp Functions OverviewLisp Functions Overview
Expand Lisp Functions ReferenceLisp Functions Reference
Expand Visual Lisp Compatible FunctionsVisual Lisp Compatible Functions
Hide Table of Contents
PDM Pro API Web Service
Postapi/{vaultName}/files/buildtree/checkout
PDM Pro API Web Service > File Resource Group : api/{vaultName}/files/buildtree/checkout (Post)
Description
POST: api/{VaultName}/files/buildtree/checkout Build checkout references tree

 

Gets the tree of references in the specified file's checkout.

Parameters
NameDescriptionData Type
(URI parameter) Valut name (required)string

(Body parameter) File ID

 

Member of CheckOutItem; see Remarks

integer

(Body parameter) Folder ID

 

Member of CheckOutItem; see Remarks

integer

(Response) A FileInfoConfigLess object that consists of:

   File (File object consists of:

      FileId (integer)

      FileName (string)

  )

   Folder (Folder object consists of:

      FolderId (integer)

      FolderPath (string)

  )

   Version (integer)

 

Member of FileRefOfFileInfoConfigLess model; see Remarks

FileInfoConfigLess

(Response) Whether is a toolbox item

 

Member of FileRefOfFileInfoConfigLess model; see Remarks

 

integer

(Response) PweObjectType model; one of:

   ObjType_NoObject = 0

   ObjType_File = 1

   ObjType_InternalComponent = 2

   ObjType_SavedBOM = 3

   ObjType_Item = 4

   ObjType_CutListItem = 5

 

Member of FileRefOfFileInfoConfigLess model; see Remarks

String
Request (application/json, text/json)

Sample Data

[
  {
    "FileId": 1,
    "FolderId": 2
  },
  {
    "FileId": 1,
    "FolderId": 2
  }
]
Request (application/xml, text/xml)

Sample Data

<ArrayOfCheckOutItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SWPDM.Models">
  <CheckOutItem>
    <FileId>1</FileId>
    <FolderId>2</FolderId>
  </CheckOutItem>
  <CheckOutItem>
    <FileId>1</FileId>
    <FolderId>2</FolderId>
  </CheckOutItem>
</ArrayOfCheckOutItem>
Request (application/x-www-form-urlencoded)

Response (application/json)

Response (text/json)

Response (application/xml)

Response (text/xml)

Remarks

This operation can:

  •  take an array of CheckOutItem objects. Each CheckOutItem consists of FileId and Folder Id.
  •  return an array of FileRefOfFileInfoConfigLess objects that represent the tree of references to include in the file's checkout.

 

See Also


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   api/{vaultName}/files/buildtree/checkout (Post)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2024 SP02

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.